
//用户节点
export interface UserItem {
  id: number,   //唯一id，标识列
  nick: string,
  password: string,
  cname: string,
  icon: string, //icon
  sex: number,
  email: string,
  telephone: string,
  messenger: string,
  positionId: number,
  departmentId: number,
  companyId: number,
  employeeCode: string,
  userStatusId: number,
  roleId: number,
  privilege: number,
  sortCode: string,
  createTime?: any,
  createUserId?: number,
  updateTime?: any,
  updateUserId?: number
}

export interface UserItemVO {
  id: number,   //唯一id，标识列
  nick: string,
  password: string,
  cname: string,
  icon: string, //icon
  sex: string,
  email: string,
  telephone: string,
  messenger: string,
  position: string,
  department: string,
  company: string,
  employeeCode: string,
  userStatus: string,
  role: string,
  privilege: number,
  sortCode: string,
}

export interface UserNode {
  id: number,
  nick: string,
  roleId: number
}

export interface UserNodeVO {
  id: number,
  nick: string,
  role: string
}
